package com.xjh.t.domain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author satela
 * @since 2025-11-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_order")
public class Order implements Serializable {

    private static final long serialVersionUID=1L;

    private String id;

    private String orderId;


    private Integer userId;

    private String orderDetail;

    /**
     * 订单总价
     */
    private BigDecimal orderAmount;

    /**
     * 订单状态 0：未支付 1：已支付  2：已撤销  3:支付超时
     */
    private Integer orderState;

    /**
     * 生成时间
     */
    private Date createTime;

    /**
     * 配送方式
     */
    private Integer deliveryType;

    /**
     * 是否超时未支付
     */
    private Integer overTime;


}
